﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NLBS.Entity;

namespace NLBS.Data.Interface
{
    public interface ISmileService
    {
        #region Smile

        /// <summary>
        /// 获取表情列表
        /// </summary>
        /// <returns></returns>
         IList<Smile> GetSmile();

        /// <summary>
        /// 获取一个表情
        /// </summary>
        /// <param name="smID"></param>
        /// <returns></returns>
         Smile GetSmileByID(int smID);

        /// <summary>
        /// 添加一个表情
        /// </summary>
        /// <param name="sm"></param>
        /// <returns></returns>
         int InsertSmile(Smile sm);

        /// <summary>
        /// 更新一个表情
        /// </summary>
        /// <param name="sm"></param>
         void UpdateSmile(Smile sm);

        /// <summary>
        /// 删除一个表情
        /// </summary>
        /// <param name="smID"></param>
         void DeleteSmile(int smID);

        #endregion
    }
}
